#!/bin/bash
# Author: Redbrother
# Email: 728083668@qq.com
# WebSite: 
# license: None
# data :2021 04
############################################
# sudo systemctl enable rc-local.service
sed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
sed -i 's_###src/gz_src/gz_' /etc/opkg/customfeeds.conf
sed -i 's/option\ check_signature/##option\ check_signature/' /etc/opkg.conf

opkg update
opkg install luci-theme-argon
MYDIR=`pwd`
echo $MYDIR
cd $MYDIR
cp -rf luci /etc/config/
opkg install --force-overwrite dnsmasq-full
opkg install luci-app-passwall luci-app-ssr-plus luci-i18n-ssr-plus-zh-cn luci-app-unblockmusic luci-i18n-unblockmusic-zh-cn
rm -rf /root/once.sh
echo -e mount done
